<div id="header" style="height: 80px;">
	<div id="top_header" style="margin-top: 14px; background: #7db041;">&nbsp;</div>

	<div id="top_logout" style="margin-top: 0px;">
		<div style="float: left; width: 1024px;">
			<div style="float: left; width: 650px; margin-top: 47px;">
				<a href="logout.php">Изход</a>
				<div id="top_name" style="width: 400px;">Потребител, &nbsp;
					<span style="color: #7db041;"><?php echo $_SESSION['admin_username']; ?></span>
				</div>
			</div>
			<div style="float: right; width: 360px;">
				<?php
					// Линк към клиентската страница на сайта
					$curren_path	= pathinfo(getCurrentURL());
					$addr		= explode('/admin', $curren_path['dirname']);
					$custom_page	= array_filter($addr);
				?>
<!--				<a href="<?php echo $custom_page[0]; ?>" target="_blank">-->
				<a href="http://www.autohit.bg/" target="_blank">
					<img src="images/admin_logo.png" style="float: right; padding-top: 7px;"/>
				</a>
			</div>
		</div>
		<div style="clear: both;"></div>
	</div>
</div>

<div id="main">
	<div id="menu">
		<?php require_once("menu.php"); ?>
	</div>